#pragma once
#include <iostream>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/in.h>

class AddInit
{
private:
    void NetToHost()
    {
        
    }
public:
    AddInit(struct sockaddr_in &add)
        :_add(add)
    {
        
    }

    int Socket()
    {
        return socket(AF_INET,SOCK_DGRAM,0);
    }

    int Bind()
    {

    }

    ~AddInit(){}
private:
    struct sockaddr_in _add;
};